package com.kejizhentan.service;

import com.kejizhentan.yygh.model.hosp.Department;
import com.kejizhentan.yygh.vo.hosp.DepartmentQueryVo;
import com.kejizhentan.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Author shikaifeng
 * @Date 2022/9/28 15:55
 * @Version 1.0
 */
public interface DepartmentService {

    void save(Map<String, Object> paramMap);

    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
